package com.ruoyi.api.client.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author zouhuu
 * @description 学科章节视图对象
 * @date 2022/10/18 21:50:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QbmsSubjectChapterDataVo {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "总数")
    private int total;

    @ApiModelProperty(value = "数量")
    private int num;

    @ApiModelProperty(value = "比例")
    private BigDecimal rate;

    @ApiModelProperty(value = "章节")
    public List<QbmsSubjectChapterDataVo> chapter;


}
